package com.fen.service.impl;

import com.fen.entity.User;
import com.fen.mapper.UserMapper;
import com.fen.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description:
 * @author: lrf
 * @create: 2019-05-31
 **/
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User selectById(int id) {
        System.out.println("UserServiceImpl.selectById222222222222222");
        return null;
    }

    @Override
    public List<User> selectAll() {
        return userMapper.selectAll();
    }
}
